package com.service.core.rest.response;

import lombok.Getter;
import lombok.Setter;

/**
 * 单条数据返回
 * @param <T>
 */
@Setter
@Getter
public class OneResponse<T> extends BaseResponse {

    private T data;

    public OneResponse() {
    }

    public OneResponse(Integer status, String desc, T data) {
        super(status, desc);
        this.data = data;
    }
}
